//***********************************************************************
//	File:		MetalCrate.cpp
//	Author:		
//	Course:		SGP 1405
//	Purpose:	
//***********************************************************************
//***********************************************************************
//	Purposfully left blank for all comments regarding this file 
//	
//	
//	
//***********************************************************************



#include "MetalCrate.h"

MetalCrate::MetalCrate(float posX, float posY)
{
	SetAcceleration({ 0 , 0 }); 
	SetDynamicFrictionCoefficient(.65f); 
	SetHealth(4200000000);
	//SetImage();
	SetIsFrozen(false); 
	SetMass(50);
	SetMaxHealth(4200000000);
	SetMaxSpeed(75);
	SetPassable(false);
	SetPosition(SGD::Point{ posX, posY }); 
	SetRotation(0); 
	SetSize(SGD::Size(64, 64)); 
	SetSpeed(0); 
	SetStaticFrictionCoefficient(.85f);
	//SetTakeDamage(); // particle emitter
	SetVelocity(SGD::Vector{ 0, -1 }); 

}

void MetalCrate::Update(float dt)
{
	//Last line of function
	Entity::Update(dt);
}

void MetalCrate::Render()
{

}

void MetalCrate::HandleCollision(const IEntity* pOther)
{

}

void MetalCrate::HandleEvent()
{

}

SGD::Rectangle MetalCrate::GetRect() const
{
	return SGD::Rectangle{};
}

void MetalCrate::ModifyHealth(float hpAmount)
{

}

void MetalCrate::ApplyFriction(float dt)
{

}
